package com.effectiv.gooruda.rest.api.domain;
/**
 * 
 */


import java.io.Serializable;

import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.Id;

import org.springframework.data.annotation.LastModifiedDate;

import com.effectiv.gooruda.rest.docs.core.annotation.ApiObjectField;

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import java.util.Date;

/**
 * @author Dhrubo
 * 
 */
@ToString
@EqualsAndHashCode(of={"id"})
public class PesistentBase implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@ApiObjectField(description="Id")
	@Getter
	@Setter
	@Id
	private String id;
	
	@ApiObjectField(description="Created date")
	@CreatedDate
	@Getter
	@Setter
	private Date createdDate;
	
	@ApiObjectField(description="Last modification date")
	@LastModifiedDate
	@Getter
	@Setter
	private Date modifiedDate;
}
